package com.gzx.plugin.tjzy.modular.sms.receipt.vo;

import com.fhs.core.trans.anno.Trans;
import com.fhs.core.trans.constant.TransType;
import com.fhs.core.trans.vo.TransPojo;
import com.gzx.plugin.tjzy.modular.sms.receipt.entity.GzxSmsReceipt;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import vip.xiaonuo.common.sensitive.annotation.Sensitive;
import vip.xiaonuo.common.sensitive.core.SensitiveStrategy;

/**
 * @author zjt
 * @description
 * @date 2025/3/19 13:50
 */
@Data
@AutoMapper(target = GzxSmsReceipt.class)
public class GzxSmsReceiptVo implements TransPojo {
    /**
     * 自增主键
     */
    private String id;

    /**
     * 归属供应商代码
     */
    @Trans(type = TransType.DICTIONARY, key = "supplier", ref = "supplierName")
    private String supplierCode;

    private String supplierName;

    /**
     * 类型 (0: 上行, 1: 状态)
     */
    @Trans(type = TransType.DICTIONARY, key = "FlagType")
    private Integer flagType;

    /**
     * 手机号
     */
    @Sensitive(strategy = SensitiveStrategy.PHONE)
    private String phone;

    /**
     * 短信序列号
     */
    private String msgId;

    private String sendTime;

    /**
     * 状态码
     */
    private String resultCode;

    /**
     * 状态描述
     */
    private String resultName;

    /**
     * 短信详情 (JSON格式)
     */
    private String allDetail;

    /**
     * 创建时间
     */
    private String createTime;
}
